.contact-list {
  width: 300px;
  background-color: white;
  border-right: 1px solid #e0e0e0;
  display: flex;
  flex-direction: column;
}

.contact-list-header {
  padding: 20px;
  border-bottom: 1px solid #e0e0e0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.contact-list-header h2 {
  font-size: 18px;
  color: #075e54;
}

.peer-count {
  font-size: 12px;
  color: #666;
  background-color: #f0f2f5;
  padding: 4px 8px;
  border-radius: 12px;
}

.contact-list-content {
  flex: 1;
  overflow-y: auto;
}

.no-peers {
  padding: 40px 20px;
  text-align: center;
  color: #666;
}

.no-peers p {
  font-size: 16px;
  margin-bottom: 8px;
}

.no-peers small {
  font-size: 12px;
  color: #999;
}

.contact-item {
  display: flex;
  align-items: center;
  padding: 15px 20px;
  cursor: pointer;
  transition: background-color 0.2s;
  border-bottom: 1px solid #f0f0f0;
}

.contact-item:hover {
  background-color: #f5f5f5;
}

.contact-item.selected {
  background-color: #e8f5e9;
}

.contact-avatar {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background-color: #075e54;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 600;
  margin-right: 12px;
}

.contact-info {
  flex: 1;
}

.contact-name {
  font-size: 15px;
  font-weight: 600;
  color: #000;
  margin-bottom: 4px;
}

.contact-ip {
  font-size: 12px;
  color: #666;
}

.contact-status {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.contact-status.online {
  background-color: #25d366;
  box-shadow: 0 0 0 2px rgba(37, 211, 102, 0.2);
}

.contact-status.offline {
  background-color: #999;
}

.contact-status.away {
  background-color: #ffa500;
  box-shadow: 0 0 0 2px rgba(255, 165, 0, 0.2);
}
